import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'

// Vant-ui
import {
    Tabbar,
    TabbarItem,
    NavBar,
    Button,
    Search,
    Card,
    Row,
    Col,
    Icon,
    Cell,
    CellGroup,
    Uploader,
    PasswordInput,
    NumberKeyboard,
    Field,
    Notify,
    CouponCell,
    CouponList,
    Popup,
    Area,
    AddressList,
    Toast,
    SwipeCell,
    AddressEdit,
    NoticeBar,
    Tab,
    Tabs,
    Rate,
    Loading,
    Dialog,
    ImagePreview,
    Badge,
    BadgeGroup,
    SubmitBar,
    Stepper,
    Picker,
    Actionsheet,
} from 'vant';

Vue
    .use(Tabbar)
    .use(TabbarItem)
    .use(NavBar)
    .use(Button)
    .use(Search)
    .use(Card)
    .use(Row)
    .use(Col)
    .use(Icon)
    .use(Cell)
    .use(CellGroup)
    .use(Uploader)
    .use(PasswordInput)
    .use(NumberKeyboard)
    .use(Field)
    .use(Notify)
    .use(CouponCell)
    .use(CouponList)
    .use(Popup)
    .use(Area)
    .use(AddressList)
    .use(Toast)
    .use(SwipeCell)
    .use(AddressEdit)
    .use(NoticeBar)
    .use(Tab)
    .use(Tabs)
    .use(Rate)
    .use(Loading)
    .use(Dialog)
    .use(ImagePreview)
    .use(Badge)
    .use(BadgeGroup)
    .use(SubmitBar)
    .use(Stepper)
    .use(Picker)
    .use(Actionsheet)

Vue.config.productionTip = false;

new Vue({
    el: '#app',
    router,
    store,
    components: { App },
    template: '<App/>'
})